home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
026a
/
force2.zip
/
README.1ST
< prev
Wrap
Text File
|
1990-08-12
|
2KB
|
49 lines
08/12/90
Examples of FORCE programs
--------------------------
The following are a few examples of programs written and
compiled with FORCE. FORCE is a dBASE oriented compiler that
creates small EXE files.
DISPSTRU - Read DBF field information using low-level
binary functions and display structure.
KEY_VALS - Interactively get the INKEY() and LASTKEY()
values for FORCE.
FSI - Force version of Norton's System Info program.
(based upon an example in the FORCE manual)
=============================================================
I did not include an EXE version of KEY_VALS because it is a
"big" file (about 39k). The INKEY() and LASTKEY() functions
must require a large table of matching values... The PRG is
very simple and can be compiled easily if you have FORCE.
Certain functions in FORCE increase the size of EXEs due to
the extra support required. I used one GET and READ in a 27k
program and the size increased to 52k. It "forced" me to use
the INPUT command instead. If you have a larger program that
uses many READs then the extra 25k would not be an issue.
Attention FORCE users: Do not blindly include the DATA.HDR
in your programs. It will cause the EXE to increase by 19k!
Just extract the variables that you need and declare them as
EXTERN in your program.
=============================================================
These are just a few examples of programs I have created with
FORCE. I like the small EXE files and the familiar dBASE-
like commands. It is a good compiler to use if you want to
get more comfortable with 'C'-like programming.
John Wright CIS 72377,1770
WRIGHTware (617) 643-2674